/*
 * BatchReactor.h
 *
 *  Created on: 3 Jun 2011
 *      Author: allan
 */

#ifndef BATCHREACTOR_H_
#define BATCHREACTOR_H_

// FluidReact includes
#include "System.h"

class BatchReactor 
{
public:
	BatchReactor();
	
	virtual ~BatchReactor();
	
	void SetSystem(System* system);
	
	const System*const GetSystem() const;
	
	void Solve(double tEnd, double h = 1.0E-6, double hMax = 0.1, string filename = "BatchReactorOut.dat");
	
private:
	System* system;
};

#endif /* BATCHREACTOR_H_ */
